<?php

function smarty_function_ajax( $params, &$smarty )
{
	if( isset( $smarty ->ajax_included ) && $smarty ->ajax_included ) return;
	$_html_result = '<script src="/js/mootools.js" type="text/javascript"></script>';
	$smarty ->ajax_included = true;
	return $_html_result;
}

?>